package tests;

import java.util.ArrayList;

import sensors.DATA;
import sensors.EmulatedSensor;
import sensors.ISensor;
import algos.AlgoDescRisk;
import algos.IAlgo;

public class TAlgoSchianoBoosted {
	
	// WORKING
	
	public static void main(String[] args) throws InterruptedException {
		IAlgo algoritmo = new AlgoDescRisk();
		
		ArrayList<ISensor> sensori = new ArrayList<ISensor>();
		
		sensori.add(new EmulatedSensor(new double[]{0,0.2,1},DATA.HUMAN_BASED,true));
		sensori.add(new EmulatedSensor(new double[]{0,0.2,1},DATA.DRIVER_STYLE_BASED,false));



		while(true){
			System.out.println(algoritmo.fuseData(sensori));
			Thread.sleep(500);
		}
	}

}
